﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200087F RID: 2175
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetWaypointScRsp : IMessage<GetWaypointScRsp>, IMessage, IEquatable<GetWaypointScRsp>, IDeepCloneable<GetWaypointScRsp>, IBufferMessage
	{
		// Token: 0x17001B64 RID: 7012
		// (get) Token: 0x06006130 RID: 24880 RVA: 0x00102689 File Offset: 0x00100889
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetWaypointScRsp> Parser
		{
			get
			{
				return GetWaypointScRsp._parser;
			}
		}

		// Token: 0x17001B65 RID: 7013
		// (get) Token: 0x06006131 RID: 24881 RVA: 0x00102690 File Offset: 0x00100890
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetWaypointScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001B66 RID: 7014
		// (get) Token: 0x06006132 RID: 24882 RVA: 0x001026A2 File Offset: 0x001008A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetWaypointScRsp.Descriptor;
			}
		}

		// Token: 0x06006133 RID: 24883 RVA: 0x001026A9 File Offset: 0x001008A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetWaypointScRsp()
		{
		}

		// Token: 0x06006134 RID: 24884 RVA: 0x001026B4 File Offset: 0x001008B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetWaypointScRsp(GetWaypointScRsp other) : this()
		{
			this.pFBHFAGABAE_ = ((other.pFBHFAGABAE_ != null) ? other.pFBHFAGABAE_.Clone() : null);
			this.retcode_ = other.retcode_;
			this.fIIMDIGFDNJ_ = other.fIIMDIGFDNJ_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006135 RID: 24885 RVA: 0x0010270C File Offset: 0x0010090C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetWaypointScRsp Clone()
		{
			return new GetWaypointScRsp(this);
		}

		// Token: 0x17001B67 RID: 7015
		// (get) Token: 0x06006136 RID: 24886 RVA: 0x00102714 File Offset: 0x00100914
		// (set) Token: 0x06006137 RID: 24887 RVA: 0x0010271C File Offset: 0x0010091C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public Chapter PFBHFAGABAE
		{
			get
			{
				return this.pFBHFAGABAE_;
			}
			set
			{
				this.pFBHFAGABAE_ = value;
			}
		}

		// Token: 0x17001B68 RID: 7016
		// (get) Token: 0x06006138 RID: 24888 RVA: 0x00102725 File Offset: 0x00100925
		// (set) Token: 0x06006139 RID: 24889 RVA: 0x0010272D File Offset: 0x0010092D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001B69 RID: 7017
		// (get) Token: 0x0600613A RID: 24890 RVA: 0x00102736 File Offset: 0x00100936
		// (set) Token: 0x0600613B RID: 24891 RVA: 0x0010273E File Offset: 0x0010093E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FIIMDIGFDNJ
		{
			get
			{
				return this.fIIMDIGFDNJ_;
			}
			set
			{
				this.fIIMDIGFDNJ_ = value;
			}
		}

		// Token: 0x0600613C RID: 24892 RVA: 0x00102747 File Offset: 0x00100947
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetWaypointScRsp);
		}

		// Token: 0x0600613D RID: 24893 RVA: 0x00102758 File Offset: 0x00100958
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetWaypointScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.PFBHFAGABAE, other.PFBHFAGABAE) && this.Retcode == other.Retcode && this.FIIMDIGFDNJ == other.FIIMDIGFDNJ && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600613E RID: 24894 RVA: 0x001027B8 File Offset: 0x001009B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.pFBHFAGABAE_ != null)
			{
				num ^= this.PFBHFAGABAE.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.FIIMDIGFDNJ != 0U)
			{
				num ^= this.FIIMDIGFDNJ.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600613F RID: 24895 RVA: 0x00102826 File Offset: 0x00100A26
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006140 RID: 24896 RVA: 0x0010282E File Offset: 0x00100A2E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006141 RID: 24897 RVA: 0x00102838 File Offset: 0x00100A38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.pFBHFAGABAE_ != null)
			{
				output.WriteRawTag(58);
				output.WriteMessage(this.PFBHFAGABAE);
			}
			if (this.FIIMDIGFDNJ != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.FIIMDIGFDNJ);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006142 RID: 24898 RVA: 0x001028B0 File Offset: 0x00100AB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.pFBHFAGABAE_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.PFBHFAGABAE);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.FIIMDIGFDNJ != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FIIMDIGFDNJ);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006143 RID: 24899 RVA: 0x00102920 File Offset: 0x00100B20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetWaypointScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.pFBHFAGABAE_ != null)
			{
				if (this.pFBHFAGABAE_ == null)
				{
					this.PFBHFAGABAE = new Chapter();
				}
				this.PFBHFAGABAE.MergeFrom(other.PFBHFAGABAE);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.FIIMDIGFDNJ != 0U)
			{
				this.FIIMDIGFDNJ = other.FIIMDIGFDNJ;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006144 RID: 24900 RVA: 0x0010299C File Offset: 0x00100B9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006145 RID: 24901 RVA: 0x001029A8 File Offset: 0x00100BA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 58U)
				{
					if (num != 112U)
					{
						if (num != 120U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Retcode = input.ReadUInt32();
						}
					}
					else
					{
						this.FIIMDIGFDNJ = input.ReadUInt32();
					}
				}
				else
				{
					if (this.pFBHFAGABAE_ == null)
					{
						this.PFBHFAGABAE = new Chapter();
					}
					input.ReadMessage(this.PFBHFAGABAE);
				}
			}
		}

		// Token: 0x04002543 RID: 9539
		private static readonly MessageParser<GetWaypointScRsp> _parser = new MessageParser<GetWaypointScRsp>(() => new GetWaypointScRsp());

		// Token: 0x04002544 RID: 9540
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002545 RID: 9541
		public const int PFBHFAGABAEFieldNumber = 7;

		// Token: 0x04002546 RID: 9542
		private Chapter pFBHFAGABAE_;

		// Token: 0x04002547 RID: 9543
		public const int RetcodeFieldNumber = 15;

		// Token: 0x04002548 RID: 9544
		private uint retcode_;

		// Token: 0x04002549 RID: 9545
		public const int FIIMDIGFDNJFieldNumber = 14;

		// Token: 0x0400254A RID: 9546
		private uint fIIMDIGFDNJ_;
	}
}
